package com.rental.ai;

import jakarta.servlet.http.HttpServletResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import reactor.core.publisher.Mono;

@FeignClient(name = "ai-server")
@Lazy
public interface AiClient {
    @PostMapping("/ai/send")
    String aiTalk(@RequestBody String question);
}

